package com.letian.record.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 记录地址对象 record_place
 * 
 * @author bmz
 * @date 2023-10-15
 */
public class RecordPlace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long placeId;

    /** 类型 */
    @Excel(name = "类型")
    private String placeType;

    /** 经度 */
    @Excel(name = "经度")
    private Double latitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private Double longitude;

    /** 速度 */
    @Excel(name = "速度")
    private Double speed;

    /** 精确度 */
    @Excel(name = "精确度")
    private Double accuracy;

    /** 高度 */
    @Excel(name = "高度")
    private Double altitude;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 国家 */
    @Excel(name = "国家")
    private String country;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String district;

    /** 街道 */
    @Excel(name = "街道")
    private String street;

    /** 街道牌号 */
    @Excel(name = "街道牌号")
    private String streetNum;

    /** POI名称 */
    @Excel(name = "POI名称")
    private String poiName;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postalCode;

    /** 城市代码 */
    @Excel(name = "城市代码")
    private String cityCode;

    /** 归属者 */
    @Excel(name = "归属者")
    private String owner;

    public void setPlaceId(Long placeId) 
    {
        this.placeId = placeId;
    }

    public Long getPlaceId() 
    {
        return placeId;
    }
    public void setPlaceType(String placeType) 
    {
        this.placeType = placeType;
    }

    public String getPlaceType() 
    {
        return placeType;
    }
    public void setLatitude(Double latitude) 
    {
        this.latitude = latitude;
    }

    public Double getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(Double longitude) 
    {
        this.longitude = longitude;
    }

    public Double getLongitude() 
    {
        return longitude;
    }
    public void setSpeed(Double speed) 
    {
        this.speed = speed;
    }

    public Double getSpeed() 
    {
        return speed;
    }
    public void setAccuracy(Double accuracy) 
    {
        this.accuracy = accuracy;
    }

    public Double getAccuracy() 
    {
        return accuracy;
    }
    public void setAltitude(Double altitude) 
    {
        this.altitude = altitude;
    }

    public Double getAltitude() 
    {
        return altitude;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setStreet(String street) 
    {
        this.street = street;
    }

    public String getStreet() 
    {
        return street;
    }
    public void setStreetNum(String streetNum) 
    {
        this.streetNum = streetNum;
    }

    public String getStreetNum() 
    {
        return streetNum;
    }
    public void setPoiName(String poiName) 
    {
        this.poiName = poiName;
    }

    public String getPoiName() 
    {
        return poiName;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("placeId", getPlaceId())
            .append("placeType", getPlaceType())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("speed", getSpeed())
            .append("accuracy", getAccuracy())
            .append("altitude", getAltitude())
            .append("address", getAddress())
            .append("country", getCountry())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("street", getStreet())
            .append("streetNum", getStreetNum())
            .append("poiName", getPoiName())
            .append("postalCode", getPostalCode())
            .append("cityCode", getCityCode())
            .append("owner", getOwner())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
